/**
* Demo Stuff
*/
/*.style-1{position: relative;}*/
.container {
  text-align: left;
}
/**
* iPhone
* Credits: Flat, Scaleable CSS iPhone Illustration by Tom Hergenreter
* http://codepen.io/TomHergenreter/details/qDywF/
*/

/*.iphone__screen {
  width: 14.5em;
  height: 22.938em;
  position: absolute;
  top: 3.75em;
  left: .750em;
  overflow: hidden;
}*/
.iphone__screen {
  width: 100%;
  height: 100%;
  position: absolute;
  /*position: absolute;*/
  top:0;
  left:0;
  overflow:hidden;
  z-index:10;
}
.nav--active{position: absolute;}
.iphone__content {

 /* background-color: #D2527F;*/
  width: 100%;
  /*overflow-y: scroll;*/
 -webkit-overflow-scrolling: touch;
 height: 100%;
}
/**
* Navigation Defaults
*/
.nav { 
  position: fixed;
  z-index: -1;
  opacity: 1;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 300ms;
          transition-duration: 300ms;
}
.nav--active .nav {
	z-index: 20;
  opacity: 1;
    -webkit-transition-duration: 300ms;
          transition-duration: 300ms;
    -webkit-transform: translateX(20%);
          transform: translateX(20%);

}

.nav__list {
	height:30px;
	margin: 4.5rem 7% 0 2.66%;
	padding: 0;
	font-weight:normal;}
.nav__list li{ float:right; margin-left:3rem;}
.nav__list a{color: #DDD;}
.nav__item {
  list-style-type: none;
   text-align: left;
   
}

.nav__link {
  font-size: 0.7em;
  line-height:0.7em;
  /*text-transform: uppercase;*/
  text-decoration: none;
  opacity: 1;
  -webkit-transition: opacity 300ms ease-in-out;
  transition: opacity 300ms ease-in-out;
    -webkit-transition-duration: 300ms;
          transition-duration: 300ms;
}
.nav__link dd{ padding-top:0.65em;}
.nav__link img{height:1.1em;}
/*.nav__link:hover{}*/

/* Default navigation icon */
.nav__trigger {
  display: block;
  position:fixed;
  width: 3rem;
  height: 3rem;
  right:3%;
  top: 5.5rem;
  z-index: 30;
  opacity: 1;
}

.nav__trigger{ display:block;}
.nav--active .nav__trigger {opacity: 1;}

.nav__trigger:hover{ opacity:1;}

.nav__icon {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 3px;
  background-color: #DDD;
  -webkit-transition-property: background-color, -webkit-transform;
  transition-property: background-color, -webkit-transform;
  transition-property: background-color, transform;
  transition-property: background-color, transform, -webkit-transform;
  -webkit-transition-duration: 300ms;
          transition-duration: 300ms;
}
.nav__icon:before,
.nav__icon:after {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  position: absolute;
  background: #DDD;
  -webkit-transition-property: margin, -webkit-transform;
  transition-property: margin, -webkit-transform;
  transition-property: margin, transform;
  transition-property: margin, transform, -webkit-transform;
  -webkit-transition-duration: 300ms;
          transition-duration: 300ms;
}
.nav__icon:before {
  margin-top: -1rem;
}
.nav__icon:after {
  margin-top: 1rem;
}
/* Don't nest if you don't have to. */




/**
* Style #1
*/
.style-1 .nav {
	opacity:0;
 
  width: 100%;/* height:100%;*/
  background:rgba(0,0,0,0.8);
  height:12rem;
  -webkit-transition-delay: 300ms;
          transition-delay: 300ms;
		   -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}
.style-1 .nav .nav__list{
	 -webkit-transform: translateX(10%);
          transform: translateX(10%);
		  -webkit-transition-delay: 300ms;
          transition-delay: 300ms;
		   -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
		  }
.style-1 .nav__link {
  opacity: 0;
/*  -webkit-transition-delay: 300ms;
          transition-delay: 300ms;*/
}
.style-1 .nav--active .nav__link {
  opacity: 1;
}
.style-1 .nav--active .nav {
 -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
    -webkit-transition-duration: 300ms;
          transition-duration: 300ms;
		  opacity:1;
  -webkit-transform: translateX(0);
          transform: translateX(0);
		/*  background:#0CF;*/
}
.style-1 .nav--active .nav .nav__list{
	 -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
   -webkit-transition-duration: 300ms;
          transition-duration: 300ms;
		    -webkit-transform: translateX(0);
          transform: translateX(0);
		  
	}

.style-1 .nav--active .nav__icon {
  background: rgba(0, 0, 0, 0);
}
.style-1 .nav--active .nav__icon:before {
  margin-top: 0;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.style-1 .nav--active .nav__icon:after {
  margin-top: 0;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}



.sub_menu{ height:0px; overflow:hidden;font-size: 1.3rem;color: #808080; padding-left:10px}

.style-1 .nav--active .sub_menu {
  opacity: 1;
}

@media screen and (max-width:1000px){
	.nav__trigger {top: 4%; right:5%; width:2.2rem;}
	.nav__icon:before {margin-top: -0.75rem;}
	.nav__icon:after {margin-top: 0.75rem;}
	.style-1 .nav--active .nav {opacity:1;width: 100%;height:100%;background:rgba(0,0,0,1);}
	.nav__item {text-align: center;margin-bottom:5px;}
	.nav__list li{ float:none; margin-left:0;line-height:1; margin:2.2rem 0}
	.nav__list {height:auto;margin-top:10rem;}
   

	
/*	.nav__icon {background-color: #808080;}
	.nav__icon:before,.nav__icon:after {background-color: #808080;}
	
	
	.style-1 .nav--active .nav__icon:before {background-color:#808080;}
	.style-1 .nav--active .nav__icon:after {background-color:#808080;}
	.sub_menu .nav__item a{ color: #666666}
	.nav--active .nav {background-color:rgba(255,255,255,0.9);}
	#index .nav--active .nav {background:none;}*/

}

